Deleting a row from a CSV based on line number and shifting all lines afterwards